JavaScript

{dialog.object}_listGetElement Method

Syntax

{dialog.object}._listGetElement(UXListName, field, elementType, rowNumber);

Arguments

UXListNamestring

The name of the List control.

fieldstring

The field name of the element, as defined in the Fields pane of the List Builder.

elementTypestring

The type of element. It can be one of the following values:

Type
Description
LABEL

A label.

BUTTON

A button.

HYPERLINK

A hyperlink.

IMAGE

An image.

DYNAMICIMAGE

A dynamic image.

rowNumbernumber

A zero based List row number (ie, the first row in the List has a row number of 0.)

Description

Gets a pointer to an individual control in a List row, allowing you to manipulate its properties using Javascript.

Example

//change the label of the button in the 4th row
var e = {dialog.object}._listGetElement('LIST1','MYBUTTON1','BUTTON',3);
if(e) e.innerHTML = 'New Button Label';

See Also